<template>
  <div class="box">
    <div class="b">
      <router-link tag="img" to="./"
        src="https://image.hongbeibang.com/FoTuxKG5pqYKuAsT8BjrflkAxEpj?48X48&imageView2/1/w/48/h/48"
        alt=""
      />
      <h2>消息</h2>
    </div>
    <div class="c">
      <img
        src="https://image.hongbeibang.com/Ftdx-7eIhi9Q0sftcTq0UVWEuirw?100X100&imageView2/1/w/100/h/100"
        alt=""
      />
      <div class="content">
        <div class="left">
            <p>评论、作业</p>
            <div class="word">回复帮友评论能获得更高人气</div>
        </div>
        <img
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&imageView2/1/w/50/h/50"
          alt=""
        />
      </div>
    </div>
     <div class="c">
      <img
        src="https://image.hongbeibang.com/FqMIqwGZn9O7-ndS9kBL4hi33xhs?100X100&imageView2/1/w/100/h/100"
        alt=""
      />
      <div class="content">
        <div class="left">
            <p>点赞、收藏</p>
            <div class="word">来自你的作品、食谱</div>
        </div>
        <img
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&imageView2/1/w/50/h/50"
          alt=""
        />
      </div>
    </div>
     <div class="c">
      <img
        src="https://image.hongbeibang.com/FuOJf5yyIJiNCD69k1Yx26HzFuza?100X100&imageView2/1/w/100/h/100"
        alt=""
      />
      <div class="content">
        <div class="left">
            <p>打赏</p>
            <div class="word">有人【打赏/答谢】了你，快看看吧</div>
        </div>
        <img
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&imageView2/1/w/50/h/50"
          alt=""
        />
      </div>
    </div>
     <div class="c">
      <img
        src="https://image.hongbeibang.com/Ft8GGq9vShlvCA9r9IvAqpnVAPv1?100X100&imageView2/1/w/100/h/100"
        alt=""
      />
      <div class="content">
        <div class="left">
            <p>问答</p>
            <div class="word">有人回答了你的问题or评论了你 </div>
        </div>
        <img
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&imageView2/1/w/50/h/50"
          alt=""
        />
      </div>
    </div>
     <div class="c">
      <img
        src="https://image.hongbeibang.com/FgAcylGmEqkrJl0exE4DFvyjN9_J?256X256&imageView2/1/w/100/h/100"
        alt=""
      />
      <div class="content">
        <div class="left">
            <p>官方消息</p>
            
            <div class="word">系统消息</div>
            
        </div>
        <img
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&imageView2/1/w/50/h/50"
          alt=""
        />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  created() {
    this.$eventBus.$emit("hideMenu", false);
  },
  beforeDestroy() {
    this.$eventBus.$emit("hideMenu", true);
  },
};
</script>

<style lang="scss" scoped>
.box {
  width: 376px;
  height: 668px;
  .b {
    width: 376px;
    height:50px;
    display: flex;
    img {
      width: 27px;
      height: 27px;
      margin: 13px 20px 9px;
    }
    h2 {
      line-height: 50px;
      color: #4a4945;
      text-indent: 100px;
      font-size: 18px;
    }
  }

  .c {
    width: 376px;
    height: 83px;
    img {
      width: 50px;
      height: 50px;
      margin: 9px 10px 9px;
      float: left;
    }
    .content {
      width: 300px;
      height: 100%;
      float: left;
      border-bottom: 1px solid #E7E2E5;

     .left{
         width: 220px;
         float: left;
         height: 100%;
        p {
        font-size: 18px;
        color: #4a4945;
        font-weight: 600;
        line-height: 50px;
        height: 40px;
      }
      .word {
        height: 20px;
        line-height: 25px;
        font-size: 14px;
        color: #999999;
      }
     }
      img {
        float: right;
        width: 25px;
        height: 25px;
        margin: 30px 20px 0 0;
      }
    }
  }
}
</style>
